﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Loan.master" AutoEventWireup="true"
    CodeFile="Registration.aspx.cs" Inherits="AjaxDemo_Registration" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
   
    <table border="1" width="60%">
        <tr>
            <td>
                Current Date Time on load:
            </td>
            <td>
                <asp:Label runat="server" ID="lblLoad" /><asp:Button runat="server" ID="Button1"
                    Text="Go2" />
            </td>
        </tr>
        <tr>
            <td>
                Enter Name
            </td>
            <td>
                <asp:TextBox runat="server" ID="txtName" />
            </td>
        </tr>
        <tr>
            <td>
                Current Date Time
            </td>
            <td>
                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    <ContentTemplate>
                        <table border="1" width="100%">
                            <tr>
                                <td>
                                    <asp:UpdateProgress ID="upProgress" runat="server">
                                        <ProgressTemplate>
                                            <asp:Image ID="imgLoading" runat="server" ImageUrl="../images/progress.gif" />
                                        </ProgressTemplate>
                                    </asp:UpdateProgress>
                                </td>
                                <td>
                                    <asp:Label runat="server" ID="lblCurrDate" />
                                </td>
                                <td>
                                    <asp:Button runat="server" ID="btnGo" Text="Go" OnClick="btnGo_Click" />
                                </td>
                            </tr>
                        </table>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </td>
        </tr>
    </table>
</asp:Content>
